import { _decorator, Component, Node } from 'cc';
import { ModuleMgr } from './ModuleMgr';
const { ccclass, property } = _decorator;

@ccclass('ModuleBase')
export class ModuleBase extends Component {
    //供派生类重写
    onInit(...rest: any[]) {

    }

    onLateInit(...rest: any[]) {

    }

    //派生类重写
    onUpdate(dt: number, ...rest: any[]) {

    }

    onLateUpdate(dt: number, ...rest: any[]) {

    }

    defaultMessage(...rest: any[]) {

    }

}